<p>
Here is your finished component with getters and setters.  Copy and paste this into a new file
</p>
<br /><br />

<!--- BH: Setup our default vars --->
<cfset thisCFC = "" />
<cfset thisCFCFieldList = '' />
<cfset openCFC = "" />
<cfset openInit = "" />
<cfset closeInit = "" />
<cfset initBody = "" />
<cfset getsetBody = "" />
<cfset thisName = "" />
<cfset thisReturnType = "" />
<cfset thisHint = "" />
<cfset thisDefault = "" />


<!--- BH: Generate the opening and part of the init method of the CFC --->
<cfset openCFC = Request.CFC.GetSet.getOpenCFC(Form.CFCDesc) />
<cfset openInit = Request.CFC.GetSet.getOpenInitMethod(Form.CFCName) />
<cfset closeInit = Request.CFC.GetSet.getCloseInitMethod(Form.CFCName) />

<!--- BH: Loop though our vars to create init params & Getters/Setters --->
<cfloop from="1" to="#Form.totalVars#" index="i">
	<!--- BH: Set vars for this iteration --->
	<cfset thisName = Evaluate("thisVar_#i#_Name") />
	<cfset thisReturnType = Evaluate("thisVar_#i#_ReturnType") />
	<cfset thisHint = Evaluate("thisVar_#i#_Hint") />
	<cfset thisDefault = Evaluate("thisVar_#i#_Default") />
	
	<!--- BH: Generate init & getter/setters --->
	<cfif StructKeyExists(Form, "DoStringInits") AND Form.DoStringInits AND thisReturnType EQ "string">
		<cfset initBody = initBody & Request.CFC.GetSet.getInitSetter(thisName, thisReturnType, "") />
	<cfelseif Len(Trim(thisDefault))>
		<cfset initBody = initBody & Request.CFC.GetSet.getInitSetter(thisName, thisReturnType, thisDefault) />
	</cfif>
	<cfset getsetBody = getsetBody & Request.CFC.GetSet.getGetterMethod(thisName, thisReturnType, thisHint) />
	<cfset getsetBody = getsetBody & Request.CFC.GetSet.getSetterMethod(thisName, thisReturnType, thisHint, thisDefault) />
	<cfset thisCFCFieldList = ListAppend(thisCFCFieldList, thisName, ",") />
</cfloop>

<cfset closeCFC = Request.CFC.GetSet.getCloseCFC(thisCFCFieldList) />
<cfset thisCFC = openCFC & openInit & initBody & closeInit & getsetBody & closeCFC />

<cfoutput>
<textarea style="width: 900px; height: 500px;">#thisCFC#</textarea>
</cfoutput>